<div class="meta-comment" ng-controller="CommentCtrl">
	<div class="form-section">
		<i class="fa fa-comment"></i><span>历史备注</span>
		<i class="fa fa-arrow-up" id="fa-sort-ctrl-comment"></i>
	</div>
	<div class="meta-comments">
		<div ng-repeat="element in commentCtrl.comments track by $index">
			<img ng-src="{{element.user.avatar===null?'../../images/common/header.png':element.user.avatar}}">
			<div class="user"><span class='name'>{{element.user.name}}</span><span class='time'>{{element.createdAt | date:"yyyy-MM-dd"}}</span></div>
			<p ng-bind-html="element.content"></p>
		</div>
	</div>
	<hr class="form-hr" />
	<div class="form-section">
		<i class="fa fa-commenting"></i>
		<span>我的备注</span>
		<button class="btn btn-success btn-meta-14 btn-meta-blue" ng-click="createComment()">添加备注</button>
	</div>
	<div style="padding:0 0 0 10px">
		<textarea class="input-control form-control" ng-model="commentCtrl.comment.content"></textarea>
	</div>
</div>
